package com.learn.eduorder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.eduapi.entity.order.UserCourseOrder;

import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;


@Repository
public interface OrderDao extends BaseMapper<UserCourseOrder> {
    @Update("update user_course_order_0 set status = #{status} where id = #{id}")
    int updateUserCourseOrder(UserCourseOrder userCourseOrder);
}
